﻿namespace MceRemoteMapper
{
    /// <summary>
    /// Scan codes.
    /// </summary>
    enum ScanCode : byte
    {
        None = 0,

        A = 0x04,
        B = 0x05,
        C = 0x06,
        D = 0x07,
        E = 0x08,
        F = 0x09,
        G = 0x0A,
        H = 0x0B,
        I = 0x0C,
        J = 0x0D,
        K = 0x0E,
        L = 0x0F,
        M = 0x10,
        N = 0x11,
        O = 0x12,
        P = 0x13,
        Q = 0x14,
        R = 0x15,
        S = 0x16,
        T = 0x17,
        U = 0x18,
        V = 0x19,
        W = 0x1A,
        X = 0x1B,
        Y = 0x1C,
        Z = 0x1D,

        D1 = 0x1E,
        D2 = 0x1F,
        D3 = 0x20,
        D4 = 0x21,
        D5 = 0x22,
        D6 = 0x23,
        D7 = 0x24,
        D8 = 0x25,
        D9 = 0x26,
        D0 = 0x27,

        Return = 0x28,
        Escape = 0x29,
        Backspace = 0x2A,
        Tab = 0x2B,
        Space = 0x2C,
        OemMinus = 0x2D,
        OemPlus = 0x2E,
        OemOpenBrackets = 0x2F,
        OemCloseBrackets = 0x30,
        OemPipe = 0x31,

        OemSemiColon = 0x33,
        OemQuotes = 0x34,

        Oemtilde = 0x35,

        OemComma = 0x36,
        OemPeriod = 0x37,
        OemQuestion = 0x38,
        CapsLock = 0x39,
        F1 = 0x3A,
        F2 = 0x3B,
        F3 = 0x3C,
        F4 = 0x3D,
        F5 = 0x3E,
        F6 = 0x3F,
        F7 = 0x40,
        F8 = 0x41,
        F9 = 0x42,
        F10 = 0x43,
        F11 = 0x44,
        F12 = 0x45,
        PrintScreen = 0x46,
        Scroll = 0x47,
        Pause = 0x48,       
        Insert = 0x49,
        Home = 0x4A,
        PageUp = 0x4B,
        Delete = 0x4C,
        End = 0x4D,
        PageDown = 0x4E,
        Right = 0x4F,
        Left = 0x50,
        Down = 0x51,
        Up = 0x52,
        NumLock = 0x53,
        Numpad = 0x54,
        Multiply = 0x55,
        Subtract = 0x56,
        Add = 0x57,
        Enter = 0x58,

        Numpad1 = 0x59,
        Numpad2 = 0x5A,
        Numpad3 = 0x5B,
        Numpad4 = 0x5C,
        Numpad5 = 0x5D,
        Numpad6 = 0x5E,
        Numpad7 = 0x5F,
        Numpad8 = 0x60,
        Numpad9 = 0x61,
        Numpad0 = 0x62,

        Decimal = 0x63,
        Apps = 0x65,
        
        Equals = 0x67,

        F13 = 0x68,
        F14 = 0x69,
        F15 = 0x6A,
        F16 = 0x6B,
        F17 = 0x6C,
        F18 = 0x6D,
        F19 = 0x6E,
        F20 = 0x6F,
        F21 = 0x70,
        F22 = 0x71,
        F23 = 0x72,
        F24 = 0x73,

        Execute = 0x74,
        Help = 0x75,
        Menu = 0x76,
        Select = 0x77,

        Mute = 0x7F,
        VolumeUp = 0x80,
        VolumeDown = 0x81,

        HanguelMode = 0x90,
        HanjaMode = 0x91,

        Attn = 0x9A,
        Cancel = 0x9B,
        Clear = 0x9C,
        Prior = 0x9D,

        Separator = 0x9F,

        Crsel = 0xA3,
        Exsel = 0xA4,
    }
}
